//
//  BaseEvent.h
//  Prism
//
//  Created by Bas du Pre on 20-05-11.
//  Copyright 2011 UU. All rights reserved.
//

#pragma once

namespace Prism {

class PObject;

#ifndef PRISM_DOXYGEN
    
class BaseEvent
{
public:
    virtual ~BaseEvent();
    virtual void removeHandler(PObject *object) = 0;
    
protected:
    virtual void linkEvent(PObject *object);
    virtual void unlinkEvent(PObject *object);
};

#endif
    
}